package cn.fatgod.learn.mybatis.entity;

import lombok.Data;
import lombok.experimental.Accessors;

@Accessors(chain = true)
@Data
public class User {
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 邮箱
     */
    private String email;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
